<!--/*--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link id="mastercss" rel="stylesheet" href="images/style.css" type="text/css" media="screen"/>
    <script src="include/js/common.js" type="text/javascript"></script>
</head>
<body><!--*/-->
<!--{&header,${title!},内容管理${catpath!}&nbsp;&raquo;&nbsp;编辑内容}-->
<script src="include/js/jquery.min.js" type="text/javascript"></script>
<!--{!#system,common}-->
<div id="newslisttab">
    <ul>
        <li></li>
        <li class="active" id="tabTitle0"><a class="hideFocus" onclick="showTabs(0);" href="javascript:;">基本信息</a></li>
        <!--{if isset($forminfos['editor']) && count($forminfos['editor'])>0}-->
        <li id="tabTitle1"><a class="hideFocus" onclick="showTabs(1);" href="javascript:;">内容编辑</a></li>
        <!--{/if}-->
        <!--{if isset($forminfos['senior']) && count($forminfos['senior'])>0}-->
        <li id="tabTitle2"><a class="hideFocus"  onclick="showTabs(2);" href="javascript:;">扩展设置</a></li>
        <!--{/if}-->
        <li style="float:right" class="active"><a>编辑内容</a></li>
        <li style="float:right"><a href="#{cms/addcontent/${catid}}#">添加内容</a></li>
        <li style="float:right"><a href="#{cms/content/${catid}}#">内容浏览</a></li>
    </ul>
</div>
<form method="post" action="#{/cms/editcontent/${contentid}}#" enctype="multipart/form-data">
    <table cellspacing="0" cellpadding="0" width="100%" class="maintable">
        <tbody id='tabs0'>
        <!--{loop $forminfos['base'] $field $info}-->
        <tr>
            <th>${info[star]??<span class="sred">*</span>} ${info[name]}
                ${info[tips]?<div>@(info[tips])</div>}
            </th>
            <td>${info[form]}</td>
        </tr>
         <!--{/loop}-->
        </tbody>
        <tbody id='tabs1'  style='display:none'>
        <!--{loop $forminfos['editor'] $field $info}-->
        <tr>
            <th style="text-align: left;">${info[star]??<span class="sred">*</span>} ${info[name]}
                <br/>${info[tips]?<span style="color:#000000">@(info[tips])</span>}</th>
        </tr>
        <tr>
            <td>${info[form]}</td>
        </tr>
         <!--{/loop}-->
        </tbody>
        <tbody id='tabs2' style='display:none'>
        <!--{loop $forminfos['senior'] $field $info}-->
        <tr>
            <th>${info[star]??<span class="sred">*</span>} ${info[name]}
                ${info[tips]?<div>@(info[tips])</div>}
            </th>
            <td>${info[form]}</td>
        </tr>
         <!--{/loop}-->
        </tbody>
    </table>
     <div class="buttons">
        <input type="submit" name="submit" value="{!common_submit}" class="submit">
    </div>


</form>
<!--{&footer}-->
<!--/*-->
</body>
</html><!--*/-->